package com.song.mall.product.feign;

import com.song.common.to.es.SkuEsModel;
import com.song.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/9/13 - the current system date.
 * 15:12 - the current system time.
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
